import $http from "./requst";

export function homeData(data) {
  return $http({
    url: `/api`,
    method: "POST",
    data,
  });
}
// 编辑资料
export function information(data) {
  return $http({
    url: `/api/Index/information`,
    method: "POST",
    data,
  });
}
// 核验信息扫码查看
export function show(data) {
  return $http({
    url: `/api/verification/show`,
    method: "POST",
    data,
  });
}
// 核验信息扫码提交
export function save(data) {
  return $http({
    url: `/api/verification/save`,
    method: "POST",
    data,
  });
}
// 核验界面展示
export function verification(data) {
  return $http({
    url: `/api/verification`,
    method: "POST",
    data,
  });
}

// 核验界面记录
export function record(data) {
  return $http({
    url: `/api/verification/record`,
    method: "POST",
    data,
  });
}
